From: Jonas Dreßler Date: Mon, 20 Jan 2020 13:56:04 +0000 (+0100) Subject: polkitAgent: Use wiggle effect to inform about wrong password or problem X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~72 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ded8412a2ac564b9a7cff1a28e369a64105697ca;p=gnome-shell.git polkitAgent: Use wiggle effect to inform about wrong password or problem https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942 --- diff --git a/js/ui/components/polkitAgent.js b/js/ui/components/polkitAgent.js index cf583823a..2e154ff99 100644 --- a/js/ui/components/polkitAgent.js +++ b/js/ui/components/polkitAgent.js @@ -9,6 +9,7 @@ const Main = imports.ui.main; const ModalDialog = imports.ui.modalDialog; const ShellEntry = imports.ui.shellEntry; const UserWidget = imports.ui.userWidget; +const Util = imports.misc.util; const DialogMode = { AUTH: 0, @@ -251,6 +252,8 @@ var AuthenticationDialog = GObject.registerClass({ this._errorMessageLabel.show(); this._infoMessageLabel.hide(); this._nullMessageLabel.hide(); + + Util.wiggle(this._passwordEntry); } /* Try and authenticate again */